<template>
  <p>computed result : {{result}}</p>
  <p :class="[c1,c2]">this bind class method that is array</p>
</template>

<script setup>
  import { computed } from "vue";

  const result = computed(()=>{
    return new Date();
  })
  var c1="test1"
  var c2 = "test2"
</script>

<style scoped>
.test1{
background-color: aqua;
}
.test2{
  font-size: 50px;
  font-style: italic;
}
</style>